package com.zf.bm.module.dto;

import jakarta.validation.constraints.Min;
import lombok.Data;
import org.hibernate.validator.constraints.Length;


@Data
public class UserDTO {
    private Long id;

    @Min(value = 1, message = "id不能小于1")
    private String name;

    @Length(max = 10, message = "remark不能超过10个字符")
    private String remark;
    private Long createAt;
    private Long updateAt;
    private Long createTime;
    private Long updateTime;
}